package com.hkrt.demo.di.component

import com.hkrt.demo.di.module.ActivityModule
import com.hkrt.demo.di.module.ApiModule
import com.hkrt.demo.di.module.ApplicationModule
import dagger.Component
import javax.inject.Singleton

/**
* @author  Chenjinguang
* @date 29.07.2017.
*/
@Singleton
@Component(modules = [(ApplicationModule::class), (ApiModule::class)])
interface ApplicationComponent {

    operator fun plus(activityModule: ActivityModule): ActivityComponent
}